package com.whfc.wxmp.api.fvs.service.impl;

import com.whfc.fvs.dto.FvsGroupDTO;
import com.whfc.fvs.service.FvsGroupService;
import com.whfc.wxmp.api.fvs.service.WxFvsGroupService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author qzexing
 * @version 1.0
 * @date 2021/12/15 16:44
 */
@Service
public class WxFvsGroupServiceImpl implements WxFvsGroupService {

    @DubboReference(interfaceClass = FvsGroupService.class, version = "1.0.0")
    private FvsGroupService fvsGroupService;


    @Override
    public List<FvsGroupDTO> tree(Integer deptId) {
        return fvsGroupService.tree(deptId,null);
    }
}
